<?php $filename = $_SERVER['PHP_SELF'];

echo $filename;
?>